import React from 'react'
import { Card } from 'antd'
import css from './style.less'

class MessageBox extends React.Component {
  render() {
    const { visible } = this.props
    return (
      <Card title="message box" className={visible ? `${css.card} ${css.animation}` : css.card} />
    )
  }
}

export default MessageBox
